package com.example.demo.service;

import com.example.demo.entity.RoleEntity;

import java.util.List;

public interface RoleService {

    public String getRoleName();

    public int addRole(RoleEntity user);

    public RoleEntity getRoleById(int id);
    public int deleteRoleById(int id);

    public List<RoleEntity> list();
}
